# 1 重新生成产品子表单
curl  http://127.0.0.1:5008/pro/v1/script/bi/oldFormDataHandle -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456}'

# 2 迁移tb_chart_custom中的数据
curl  http://127.0.0.1:5028/pro/v1/bi/relatedProduct/customerChartSubProductHandle -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456}'

# 3 初始化bom产品子表单的索引
 curl http://127.0.0.1:5028/pro/v1/chart/init/initNewBiMapping -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","corpid": "1","userId" : "1","code":2414,"xbbCode":"123456","platform": "web"}'